<?php

use Illuminate\Database\Seeder;

class AdministratorSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        factory(\App\Models\Administrator::class,10)->create();
        $user=\App\Models\Administrator::first();
        $user->name='孟菊';
        $user->email='2440979782@qq.com';
        $user->password=bcrypt('1');
        $user->phone=15851850211;
        $user->icon='https://gss3.bdstatic.com/7Po3dSag_xI4khGkpoWK1HF6hhy/baike/whfpf%3D180%2C140%2C50/sign=d3d634c580b1cb133e3c6f53bb696776/b7003af33a87e950d254ac461d385343fbf2b45d.jpg';
        $user->save();
    }
}
